package com.example.news.model;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-26
 * Time: 11:30
 */
@Component
@Data
public class News {
    public int id;
    public String title;
    public String content;
    public int userid;
    public String datetime;
}
